package com.uduemc.biso.module.basic.service.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.uduemc.biso.core.extities.center.SysComponentType;
import com.uduemc.biso.module.basic.service.mapper.SysComponentTypeMapper;
import com.uduemc.biso.module.basic.service.service.SysComponentTypeService;

@Service
public class SysComponentTypeServiceImpl implements SysComponentTypeService {

	@Autowired
	private SysComponentTypeMapper sysComponentTypeMapper;

	@Override
	public SysComponentType findOne(long id) {
		return sysComponentTypeMapper.selectByPrimaryKey(id);
	}

	@Override
	public List<SysComponentType> findAll() {
		return sysComponentTypeMapper.selectAll();
	}

}
